

#ifndef _SHELL_REQXMWLOGIN_MESSAGE_H_
#define _SHELL_REQXMWLOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqXMWLoginMessage : public Message
{
	public:
	ReqXMWLoginMessage();
	~ReqXMWLoginMessage();
	void reset();
	ReqXMWLoginMessage* clone();
	static const int _ID;
	//授权码
	std::string authorization_code;
	//0登录1刷新
	int8 type;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
